package com.hmall.api.config;

import com.hmall.api.fallback.ItemClientFallBackFactory;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author czt
 * @version 1.0
 * @since 2024/11/4
 */
public class FallbackFactoryConfig {

    @Bean
    public ItemClientFallBackFactory itemClientFallBackFactory() {
        return new ItemClientFallBackFactory();
    }
}
